GtkRange: Fix drawing of fill-level
authorMarcus Karlsson <mk@acc.umu.se>
Tue, 24 Mar 2015 21:31:52 +0000 (22:31 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 25 Mar 2015 02:45:14 +0000 (22:45 -0400)
commitabf3d78b5717cb66f3e231a521057188c426d473
treec73202042f372ee64b11b9bd25115833635d7e89
parent77197847335409a743688a50af51b39160f61754
GtkRange: Fix drawing of fill-level

Compute the proportion of the range that should be filled to match the
fill level, and use it to compute the starting point and length of the
area between the slider and the fill level.

https://bugzilla.gnome.org/show_bug.cgi?id=734741
gtk/gtkrange.c